Previous Thread
Next Thread
Print Thread
Rate Thread
#17467 10/30/03 03:06 AM
Joined: Oct 2003
Posts: 209
Member
Member
Joined: Oct 2003
Posts: 209
How do you make graphics in C++? I can make text-only programs, but at some point I'll need graphics. Any suggestions or tutorial links?


Those who say do not know.
Those who know do not say.
Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#17468 10/30/03 04:56 AM
Joined: Aug 2003
Posts: 240
Member
Member
Joined: Aug 2003
Posts: 240
You dont need graphics.. and do you mean GUI (graphical user interface) or something like directx or open gl :p they are all totally different learn the basics b4 u even bother trying gfx


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth
#17469 10/30/03 10:05 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
He means a graphical user interface. Sorry, I don't know of any tutorials. just look for example code of simple GUI programs and learn from them.

www.planetsourcecode.com


Domain Registration, Hosting, Management
http://www.dollardns.net
#17470 11/03/03 11:44 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
*well... guess who's back? (for those of you who remember me, from the older days)*

Well... being quite experienced in C++ as I am *cough* Yes... there is a way to create graphics in C++ (DOS).

If you have a Borland Compiler at hand.. it's quite easy (although time-consuming)
Just tell me if you want some examples from me...
I'll be glad to help ya out...


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17471 11/03/03 04:53 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
I remember you. You were a noob.


Domain Registration, Hosting, Management
http://www.dollardns.net
#17472 11/04/03 11:00 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
yes... .. right wink
Wanted to get in with the big buys and play around the digital arena .. hehe... that was quite some time ago smile

Then I got meself out of the n00b-camp and started getting serious.. actually learning something and studying...
Well.. here I am,, after milllions of lines in C++ and Haskell (and other languages) and a lot of math and so...

I'll do my best to share the knowledge I hold and gain new....


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17473 11/04/03 11:38 AM
Joined: Aug 2003
Posts: 240
Member
Member
Joined: Aug 2003
Posts: 240
lol WHATEVER!
Code
#include <iostream>
int main(){
printf("I DONT WANT TO KNOW YOUR NAME\n");
return 0;
}
Code
.386
.model flat,stdcall
option casemap :none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\kernel32.lib
.data
testing db "Is this a message Box",0
testing1 db "Is this really a message box",0
.code
start:
push NULL
push offset testing
push offset testing1
push NULL
call MessageBoxA
push NULL
call ExitProcess
end start
thats the extent of my coding.. i dont know what that even does can u help me out man!!


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth
#17474 11/04/03 11:59 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
Which of the codes do you mean?
Looks like C/C++ on the upper hand, and some ASM language on the other....
Actually, it looks like some W32 implementation of ASM, uhhmm.. what's it called.... GOASM is one of those kinds...
wink


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17475 11/04/03 12:45 PM
Joined: Aug 2003
Posts: 240
Member
Member
Joined: Aug 2003
Posts: 240
lol its called w32asm and im using masm32 if u look at the include ^^ duh
Explain them to me.. coz i dont know what they do
*snickers*


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth
#17476 11/04/03 01:16 PM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
well.....
since you actually do NOT seem NOT to know what you are doing.... I just won't help you.
So, plz. Don't waste my time with redicilous pranks.


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17477 11/04/03 05:31 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
BlackKnight is a cocky bish. And you're still a noob.

--Takes a moment to rephrase zenon's quote
"It's not my code that's useless, it's your imagination that's nonexistant."


Domain Registration, Hosting, Management
http://www.dollardns.net
#17478 11/04/03 05:57 PM
Joined: Nov 2003
Posts: 37
Junior Member
Junior Member
Joined: Nov 2003
Posts: 37
black night do you know c++? because quote".386.model flat,stdcalloption casemap :noneinclude \masm32\include\windows.incinclude \masm32\include\kernel32.incincludelib \masm32\lib\kernel32.lib.datatesting db "Is this a message Box",0testing1 db "Is this really a message box",0.codestart:push NULLpush offset testingpush offset testing1push NULLcall MessageBoxApush NULLcall ExitProcessend start"
makes no sence im new and even i can do better


Kill or be killed
#17479 11/05/03 07:46 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
To bad that you feel that way SilentRage..


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17480 11/05/03 10:09 AM
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
UGN Elite Poster
P Offline
Joined: Mar 2002
Posts: 1,136
Quote:
Originally posted by zenon:
To bad that you feel that way SilentRage..
b3c4u53 h3 Wi11 h4x0r j00!!!! pwn j00r b0x!!!!!!!!

PH33R!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

#17481 11/05/03 10:42 AM
Joined: Aug 2003
Posts: 240
Member
Member
Joined: Aug 2003
Posts: 240
black night do you know c++? because quote " etc..."
lmao my silly idiotic friend.. you negelect to see that this is asm which is a low level language and not c++ i dont care what forum im in coz im a cocky son of a [censored].. i like it ruff and i hope shes ruff back


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth
#17482 11/05/03 10:44 AM
Joined: Aug 2003
Posts: 240
Member
Member
Joined: Aug 2003
Posts: 240
oh and btw http://serialcoders.sytes.net/bknight/

^^
Thanks silentrage *snickers*


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth
#17483 11/06/03 12:45 AM
Joined: Oct 2003
Posts: 209
Member
Member
Joined: Oct 2003
Posts: 209
Wow.. that got violent just for a bit of graphics code. What I was wondering was how to do graphics without having to make eat picture and pointing to them, because that would take a lot of disk space..


Those who say do not know.
Those who know do not say.
#17484 11/06/03 07:46 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
Well... yeah, I think there are certain individuals that have atitude problems. Since that owner-change of the UnderGroundNews board (like 2 years ago)? the UGN.board lost a lot of reasonable and good-hearted members.

There are far to many show-offs now....
To bad things go that way...


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17485 11/06/03 08:40 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
It is funny how people say things have worsened and some people say things have improved. I think such opinions are pointless and should be kept private. But if we're handing out opinions here's mine. People just see what they expect to see.

And btw. I just pretend to be a tough guy. Don't put any credit into comments like "you're a noob".


Domain Registration, Hosting, Management
http://www.dollardns.net
#17486 11/08/03 12:31 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
whoooa .... hold your horses.
You really had me there .... *yeah, right*
Annyway....

So, what have you guys been coding since last time?
(last time we met)


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17487 11/08/03 12:46 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
The zone manager script in perl for www.dollardns.org is my latest accomplishment in programming.


Domain Registration, Hosting, Management
http://www.dollardns.net
#17488 11/08/03 02:00 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
sweet... seems okay to me smile

A stupid question, (but hey, no question is stupid)...
Annyone of you guys coming over to Dreamhack?


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17489 11/08/03 05:32 AM
Joined: Aug 2003
Posts: 240
Member
Member
Joined: Aug 2003
Posts: 240
lol..zenon for someone who is so opioninative you sure have a weird perspective on [censored]..
haven't been here that long so dont know about 2 years ago...
Quote:

Well... yeah, I think there are certain individuals that have atitude problems. Since that owner-change of the UnderGroundNews board (like 2 years ago)? the UGN.board lost a lot of reasonable and good-hearted members.

There are far to many show-offs now....
To bad things go that way...
probably reffering to me.. i don't care if you think im showing off bcoz im not really.. i'm just sick of people claiming they can do [censored] when they can't.. I guess it comes down to a luck of trust between new members of the board because they all seem like noobs.. and i don't know what they are on about but I can't pass judgement on you bcoz i don't know you , I stand but what i say i dont care how i sound :p


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth
#17490 11/08/03 05:47 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
well Knight... that's good... that's how everyone should be...
honest about their thoughts, and really hang on to their beliefes... no matter how f*cked their beliefes are....
yeah! I like people with a strong personality...
C'os they are the ones that people remember....

Like:
-The rude mother**** at 7-11, the fuc***up old lady in the tram that just pushes herself infront of you like you never existed, the f***up store owner that won't give you a 1 cent credit when your'e 1 cent short, Adolf Hitler...

yeah Knight... I like your style!
Keep going!!!


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17491 11/08/03 05:48 AM
Joined: Mar 2002
Posts: 93
Junior Member
Junior Member
Joined: Mar 2002
Posts: 93
And by the way.. I am NOT claiming I can do something I cant.
Just for the record!


- "It's not my code that's useless
it's you loosers being unable to
apprecitate it because of your
lack of skills!"
/zenon - C++ master Apprentice
#17492 11/08/03 12:43 PM
Joined: Aug 2003
Posts: 240
Member
Member
Joined: Aug 2003
Posts: 240
you claimed you could help me you couldnt so yeah lol <img border="0" alt="devil" title="" src="graemlins/devil.gif" />
and redmage there is an example of gui code in there.. using mfc i can also just use the win32api calls but i only do tht in asm ^^


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth
#17493 11/08/03 08:53 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Ok that's enough. I personally have nothing bad to say about zenon. Stop picking him apart like you're an atheist who found somebody claiming to be jesus. Zenon probably knows C++. He never said anything about knowing ASM.

Sorry redmage for closing your post, but I feel it has been answered. Do your own searching now for answers to such a general question.


Domain Registration, Hosting, Management
http://www.dollardns.net

Link Copied to Clipboard
Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,204
Joined: February 2002
Forum Statistics
Forums41
Topics33,839
Posts68,797
Members2,177
Most Online73,244
Nov 9th, 2025
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,204
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Girlie 1
unreal 1
Crime 1
Ice 1
Dartur 1
Powered by UBB.threads™ PHP Forum Software 8.0.0